home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / eedsrc24.zip / EELIBSRC.ZIP / MAKEFILE < prev    next >
Text File  |  1992-10-28  |  778b  |  38 lines

  1. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  2. .SWAP
  3.  
  4. # Your C compiler and linker
  5. CC = tcc
  6. LNK = tlink
  7.  
  8. # Include directories other than default ones.
  9. INC = -Ic:\usr\tc\include -I\usr\include
  10. LIB = c:\usr\tc\lib
  11. LIB2 = c:\usr\lib
  12.  
  13. CFLAGS = -ml -c -a- -ff -G -O1 -r -d  -v- -y- -k- -N- 
  14. LFLAGS = /x/c/3
  15.  
  16.  
  17. LIBS =  $(LIB)\cl.lib
  18.  
  19. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  20. # choke on them (the { } signals batch mode that combines few operation at the
  21. # same time - very nice feature!).
  22. .c.obj:
  23.     $(CC) $(INC) $(CFLAGS) {$< }
  24.  
  25. OBJS =     eelib.obj
  26.  
  27. eelib:    $(OBJS)
  28.     $(LNK) @&&!
  29. c:\usr\tc\lib\c0l.obj+
  30. $(OBJS)
  31. eelib.exe
  32. eelib.map
  33. $(LIBS)
  34. !$(LFLAGS)
  35.  
  36. ptype:
  37.     mkptypes eelib.c > eelib.h
  38.